﻿@model Product
@section ToolBar{
    <div class="r-c-tool">
        <a href="javascript:location.reload();" class="l-btn fa fa-refresh"></a>
        <a href="javascript:void(0);" class="l-btn fa fa-search"></a>
    </div>
    <div class="r-c-list">
        @Html.LActionLink("新建商品", "Edit", "Product", new { }, new { @class = "l-btn", single = "single" })
    </div>
}
<div class="l-m-detail">
    @if (!String.IsNullOrEmpty(Model.Image60))
    {
        <div class="detail-item">
            <div class="label">商品图片</div>
            <div class="content">
                <img src="@(Model.Image60)" />
            </div>
        </div>
    }
    @Html.LDetailItemFor(m => m.ProductNo, false)
    @Html.LDetailItemFor(m => m.ProductName, false)
    @Html.LDetailItemFor(m => m.Category.CategoryName, false)
    @Html.LDetailItemFor(m => m.BrandName, false)

    @Html.LDetailItemFor(m => m.Unit, false)
    @Html.LDetailItemFor(m => m.Barcode, false)
    @Html.LDetailItemFor(m => m.MinQuantity, FunExtentions.Quantityformat, false)
    @Html.LDetailItemFor(m => m.StoreCount, FunExtentions.Quantityformat, false)
    @Html.LDetailItemFor(m => m.Price, FunExtentions.Quantityformat,false)
    @Html.LDetailItemFor(m => m.StoreAmount,FunExtentions.Quantityformat, false)
    @Html.LDetailItemFor(m => m.PackageCount, FunExtentions.Quantityformat, false)
    @Html.LDetailItemFor(m => m.ShelfLife, false)
    @Html.LDetailItemFor(m => m.ShelfLifeUnitId, false)
    @Html.LDetailItemFor(m => m.IsImported, false)
    @Html.LDetailItemFor(m => m.IsActive, false)
    @Html.LDetailItemFor(m => m.IsPromotion, false)
    @Html.LDetailItemFor(m => m.CreateTime, FunExtentions.Timeformat, false)
    @Html.LDetailItemFor(m => m.LockCount, FunExtentions.Quantityformat, false)
    @Html.LDetailItemFor(m => m.UseableCount, FunExtentions.Quantityformat, false)
    <div class="detail-item">
        <div class="label c5">商品描述</div>
        <div class="content">
            @Html.Raw(Model.Description)
        </div>
    </div>
    @Html.LDetailItemFor(m => m.Remark, false)
</div>